<?php $select = isset($_GET['r']) ? $_GET['r'] : ''; ?>
<div class="main-left" id="userNav">
		<dl>
			<dt>
			<img src="<?= Yii::getAlias('@static')?>/pc/liketry/images/u_menu_0.gif" /> <a href="<?=Yii::$app->params['domains']['liketry_url']?>member">个人中心</a>
			</dt>
			<dt class="change">
			<img src="<?= Yii::getAlias('@static')?>/pc/liketry/images/u_menu_1.gif" /> <strong>交易中心</strong>
			</dt>
			<dd>
				<a href="<?=Yii::$app->urlManager->createUrl(['order-details/order-list'])?>" <?php echo $select == 'order-details/order-list' || $select == 'order-details/order-detail'? 'class="change"':'' ?>>我的订单</a>
				<a href="<?=Yii::$app->urlManager->createUrl(['comments/show'])?>" <?php echo $select == 'comments/show' ? 'class="change"':'' ?>>订单评论</a>
				<a href="<?=Yii::$app->params['domains']['liketry_url']?>member/user_pay_money.php">账户余额</a>
				<a href="<?=Yii::$app->params['domains']['liketry_url']?>member/user_xiyuan.php">我的试豆</a>
			</dd>
			<dt class="change">
			<img src="<?= Yii::getAlias('@static')?>/pc/liketry/images/u_menu_2.gif" /> <strong>个人资料</strong>
			</dt>
			<dd>
				<a href="<?=Yii::$app->params['domains']['liketry_url']?>member/user_pay_address.php">地址管理</a>
				<a href="<?=Yii::$app->params['domains']['liketry_url']?>member/user_info.php">个性化资料</a>
				<a href="<?=Yii::$app->params['domains']['liketry_url']?>member/user_bind.php">账号绑定</a>
				<a href="<?=Yii::$app->params['domains']['liketry_url']?>member/user_password.php">修改密码</a>
			</dd>
			<dt class="change">
			<img src="<?= Yii::getAlias('@static')?>/pc/liketry/images/u_menu_3.gif" /> <strong>互动中心</strong>
			</dt>
			<dd>
				<a href="<?=Yii::$app->urlManager->createUrl(['mytask/index'])?>" <?php echo $select == 'mytask/index' ? 'class="change"':'' ?>>我的任务</a>
				<a href="<?=Yii::$app->params['domains']['liketry_url']?>member/user_daka.php">我的打卡</a>
				<a href="<?=Yii::$app->params['domains']['liketry_url']?>member/user_pm.php">我的消息</a>
				<a href="<?=Yii::$app->params['domains']['liketry_url']?>member/user_service.php">我的客服</a>
				<a href="<?=Yii::$app->params['domains']['liketry_url']?>member/user_invite.php">邀请好友</a>
				<a href="<?=Yii::$app->params['domains']['liketry_url']?>member/user_game_info.php">我的游戏中心</a>
			</dd>
		</dl>
</div>
<?php $this->beginBlock('leftJS');?>
<script>
//侧栏导航效果
$("#userNav").find(".change").next("dd").show();
$("#userNav dt").click(function(){
	if ($(this).is(".change"))
	{$(this).removeClass("change").next("dd").hide();}
	else
	{$(this).addClass("change").next("dd").show();	}
});
</script>
<?php $this->endBlock();?>

